package com.cr.admin.business.topic.service;

import com.cr.admin.business.topic.pojo.entity.Topic;
import com.cr.admin.business.topic.pojo.param.TopicAddParam;
import com.cr.admin.business.topic.pojo.param.TopicUpdateParam;
import com.cr.admin.business.topic.pojo.query.TopicQuery;
import com.cr.admin.system.pojo.entity.SysRole;

import java.util.List;

public interface TopicService {
    List<Topic> list(TopicQuery topicQuery);

    void insert(TopicAddParam topicAddParam);

    void updateById(TopicUpdateParam topicUpdateParam);

    Topic selectById(Long id);

    void deleteByIds(List<Long> ids);

    List<Topic> selectList(Object o);
}
